package com.example.common.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 返回前端的导航栏数据dto
 */

/*
              name: 'SysUser',
              title: '用户管理',
              icon: 'el-icon-s-custom',
              component: 'sys/User',
              path: '/sys/user',
              children: []
*/

@Data
public class SysMenuDto implements Serializable {

    private Long id;
    private String name;
    private String title;
    private String icon;
    private String path;
    private String component;
    private List<SysMenuDto> children = new ArrayList<>();
}
